<script setup lang="ts">
import { ref } from "vue";
import { ESSelect, ESOption } from "earthsdk-ui";
const val = ref(undefined);
</script>

<template>
  <div>
    <ESSelect v-model="val">
      <ESOption :value="'Beijing'">Beijing</ESOption>
      <ESOption :value="'Shanghai'" disabled>Shanghai</ESOption>
      <ESOption :value="'Nanjing'">Nanjing</ESOption>
      <ESOption :value="'Chengdu'">Chengdu</ESOption>
    </ESSelect>
  </div>
</template>
